package com.wchen.nio.capter2_3;

import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;

/**
 * @作者： wchen
 * @描述：
 * @创建时间： 2018/7/30 20:29
 * @版本：Copyright 2018, Inc. All Rights Reserved.
 * @修改信息：
 */
public class TimeServer {


    public static void main(String[] args) throws IOException {
        int port = 20030;

        MultiplexerTimeServer timeServer = new MultiplexerTimeServer(port);
        new Thread(timeServer, "NIO-MultiplexerTimeServer-001").start();
    }



}
